home *** CD-ROM | disk | FTP | other *** search
- on KeyCheckEndOk
- if the key = RETURN then
- EndOk()
- end if
- end
-
- on KeyCheckHintOk
- if the key = RETURN then
- HintOk()
- end if
- end
-
- on EndOk
- put " " into field 2
- put " " into field 3
- put " " into field 4
- put " " into field 5
- put " " into field 7
- EndPopQuiz()
- end
-
- on HintOk
- global PopQuizNum, WhereToGo, OldLocation, MovieIdentifier, PopFrom, FrameFrom, PopQuiz, QuizUp, QuizWaiting, PopQuizTime, TimeToQuiz, Hint
- set Hint to 1
- set WhereToGo to the pathName & line PopQuizNum of field "HintLocations"
- set OldLocation to MovieIdentifier
- set PopQuizTime to the ticks
- set QuizUp to 0
- set QuizWaiting to 0
- if Hint = 1 then
- set TimeToQuiz to 120
- end if
- if Hint = 0 then
- set TimeToQuiz to random(180) + 240
- end if
- ScoreDisplay()
- if the soundEnabled = 1 then
- set the soundEnabled to 0
- set the soundEnabled to 1
- end if
- set the keyDownScript to EMPTY
- set the mouseUpScript to EMPTY
- cursor(4)
- go(1, WhereToGo)
- cursor(4)
- SoundControl()
- end
-